﻿@model FilStartUps_Mobile.FILAPI.PageCategory
@{
    if (User.Identity.IsAuthenticated)
    {
        Layout = "~/Views/Shared/_Layout.cshtml";
    }
    else
    {
        Layout = "~/Views/Shared/_LayoutNonMember.cshtml";
    }
    ViewBag.Title = "Content";
}
@section ReturnHome{
        <a href="../Home" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
}
<div data-role="navbar" data-grid="d">
    @{
        try
        {
            foreach (var item in Model.category)
            {
        <li><a href="../Home/Articles?c=@item.catidPK">@item.categoryname</a></li>   
            }
        }
        catch
        {

        }
    }
</div>
<h2>@Model.pagedescription.pagetitle</h2>
<div class="content-textbox">
    @Html.Raw(Model.pagedescription.pagedescription)
</div>
